package com.dingding.service.usermangerservice;

import java.util.List;

import com.dingding.bean.databean.request.ReqDriverAuth;
import com.dingding.bean.databean.request.ReqReDriverAuth;
import com.dingding.bean.databean.response.DataResponse;
import com.dingding.bean.entity.UserLogin;
import com.dingding.bean.entity.Vehicleinfo;

/**
 * 
 * @ClassName: IVehicleinfoService 
 * @Description: 车辆信息service
 * @author cheshaowei
 * @date 2015-10-21 上午10:33:55
 */
public interface IVehicleinfoService {
    
	
    /**
     *
     * @Title: driverAuth 
     * @Description:认证车主
     * @param driverAuth 认证车主数据请求封装bean
     * @param dataResponse 数据响应bean
     * @author cheshaowei
     * @throws
     */
	public void driverAuth(ReqDriverAuth driverAuth,DataResponse dataResponse);
	
	/**
	 * @Title: reDriverAuth 
	 * @Description: 重新认证车主
	 * @param reqReDriverAuth 重新认证车主数据请求封装bean
	 * @param dataResponse 	数据响应bean
	 * @author lijinchao
	 * @return void
	 * @throws
	 */
	public void reDriverAuth(ReqReDriverAuth reqReDriverAuth,DataResponse dataResponse);
	
	/**
	 * @Title: getAllVehicleInfo 
	 * @Description: 获取全部审核车主信息(数据迁移专用)
	 * @author yhq
	 * @return void
	 * @throws
	 */
	public List<Vehicleinfo> getAllVehicleInfo();
	
	/**
	 * @Title: deleteAllVehicleInfo 
	 * @Description: 删除全部审核车主信息(数据迁移专用)
	 * @author yhq
	 * @return void
	 * @throws
	 */
	public boolean deleteAllVehicleInfo();
	
	/**
	 * @Title: updateAllVehicleInfo 
	 * @Description: 修改全部审核车主的Id(数据迁移专用)
	 * @author yhq
	 * @return void
	 * @throws
	 */
	public boolean updateAllVehicleInfo(List<Vehicleinfo> vehicleinfos);
	
	/**
	 * @Title: addVehicleInfoByUserLogin 
	 * @Description: 根据用户登录信息，创建初始化审核车主信息(数据迁移专用)
	 * @author yhq
	 * @return void
	 * @throws
	 */
	public boolean addVehicleInfoByUserLogin(List<UserLogin> userLogins,List<Vehicleinfo> vehicleinfos);
	
}
